Skip to content

West Midlands| May 2026 | Muhammad-Burhan Mustafa | Sprint 1 | Form Controls#1282

Closed
burhan-mustafa wants to merge 7 commits into
CodeYourFuture:mainfrom
burhan-mustafa:Form-Controls
Closed

West Midlands| May 2026 | Muhammad-Burhan Mustafa | Sprint 1 | Form Controls#1282
burhan-mustafa wants to merge 7 commits into
CodeYourFuture:mainfrom
burhan-mustafa:Form-Controls

Conversation

@burhan-mustafa
Copy link
Copy Markdown

@burhan-mustafa burhan-mustafa commented May 15, 2026

##Self checklist

  • [ x] I have titled my PR with Region | Cohort | FirstName LastName | Sprint | Assignment Title
  • [ x] My changes meet the requirements of the task
  • [ x] I have tested my changes
  • [ x] My changes follow the style guide

Changelist

This PR creates a T-shirt order form using semantic HTML. It collects the user’s name, email, colour, and size, with built-in validation to ensure all fields are required and correctly formatted.

Questions

Any improvements or suggestions on how to improve this form?

@netlify
Copy link
Copy Markdown

netlify Bot commented May 15, 2026

Deploy Preview for cyf-onboarding-module ready!

Name Link
🔨 Latest commit ab8d1e1
🔍 Latest deploy log https://app.netlify.com/projects/cyf-onboarding-module/deploys/6a0b83958ee16a00079f3771
😎 Deploy Preview https://deploy-preview-1282--cyf-onboarding-module.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
2 paths audited
Performance: 100 (no change from production)
Accessibility: 100 (no change from production)
Best Practices: 100 (no change from production)
SEO: 86 (no change from production)
PWA: -
View the detailed breakdown and full score reports
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@github-actions

This comment has been minimized.

@burhan-mustafa burhan-mustafa added the Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. label May 15, 2026
@github-actions

This comment has been minimized.

@github-actions github-actions Bot removed the Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. label May 15, 2026
@burhan-mustafa burhan-mustafa changed the title Form controls West Midlands| May 2026 | Muhammad-Burhan Mustafa | Sprint 1 | Form Controls May 16, 2026
@burhan-mustafa burhan-mustafa added the Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. label May 16, 2026
@LonMcGregor LonMcGregor added the Review in progress This review is currently being reviewed. This label will be replaced by "Reviewed" soon. label May 18, 2026
Copy link
Copy Markdown

@LonMcGregor LonMcGregor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good start on this task - the style has a nice sharp clean design.

There are some issues in the HTML you have written, could you check and respond to my other comments, thanks

Comment thread Form-Controls/index.html Outdated
<main>
<form>

<form method = "get" class = "form-container">
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a reason you put spaces between the attribute and the value?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is no real reason aside from just muscle memory when I type.

Comment thread Form-Controls/index.html Outdated
<br>

<!-- Asks for their surname -->
<label for = "surname"> Surname: </label>
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Be careful about requiring both a forename and a surname. Not all people have 2 names, and some have many more.

If you check the Readme it only asks for a "name" - how could you change the form to match this?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I could ask for a full name instead of a forename and surname

@LonMcGregor LonMcGregor added Reviewed Volunteer to add when completing a review with trainee action still to take. and removed Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. Review in progress This review is currently being reviewed. This label will be replaced by "Reviewed" soon. labels May 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Reviewed Volunteer to add when completing a review with trainee action still to take.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants